import request from '@/utils/request'
import { technicalApiUrl } from '../config'

/*
  双优化未实施情况

*/

/**
 * 双优化未实施情况列表
 * @param data
 */
export function getOptimizedConditionsList(data) {
  return request({
    url: `${technicalApiUrl}/not-implement/list`,
    method: 'post',
    data
  })
}

/**
 * 双优化未实施情况修改
 * @param data
 */
export function updateOptimizedConditions(data) {
  return request({
    url: `${technicalApiUrl}/not-implement/update`,
    method: 'post',
    data
  })
}

/**
 * 双优化未实施情况查看
 * @param data
 */
export function getOptimizedConditions(data) {
  return request({
    url: `${technicalApiUrl}/not-implement//${data.id}`,
    method: 'get'
  })
}
